package com.gxa.weixing.pc.service;

import com.gxa.weixing.core.exception.BusinessException;
import com.gxa.weixing.core.pojo.Manager;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * @author yang
 * @date 2022/1/7 9:11
 */
public interface OrderManagerService {

    /**
     * 订单表
     * orderList
     * @return orderList
     * @param map a
     * @throws Exception a
     */
    List<Map<String, Object>> orderList(  Map<String, Object> map) throws Exception;

    /**
     * 单个订单详情
     * @param id 订单id
     * @return a
     */

    List<Map<String, Object>> findById(String id) throws BusinessException, ParseException;

    void  addManager(Manager manager)throws Exception;

}
